//
//  NSString+Test.h
//  MKUITestApp
//
//  Created by 苏尚进 on 2023/11/23.
//  Copyright © 2023 moon. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (Test)
- (void)test_enumSubString:(NSString *)substring block:(void(^)(NSRange range))block;
@end

NS_ASSUME_NONNULL_END

#import "YYText.h"
NS_ASSUME_NONNULL_BEGIN

@interface NSMutableAttributedString (Test)
- (void)test_setTextHighlightString:(NSString *)string color:(UIColor *)color backgroundColor:(nullable UIColor *)backgroundColor tapAction:(YYTextAction)tapAction;
- (void)test_setLinkString:(NSString *)string url:(nullable NSString *)url tapAction:(void(^ _Nullable)(NSString *string,NSString  * _Nullable url))tapAction;
@end

NS_ASSUME_NONNULL_END
